Contract ends amid claims of “genius” inventor with “attitude problem”