A Maine man who shot to death his children and estranged wife before killing himself kept a holstered 9mm handgun on the headboard of his bed and once threatened to take a knife to his wife and do things "you wouldn't do to farm animals," a prosecutor said Tuesday.