A man accused of a fatal shooting spree in the Scottish Highlands had threatened to kill an osteopath who he claimed "ruined his life" and alleged his brother-in-law tried "to gouge his eyes out", a court has heard.