Use 5-htp, I use the one from metabolic maintenance(they got their own website), but any good quality one will do. Also took depression meds for a short period of time.....Stopped when it interferred with my sleep. 5-htp is actually something your body needs so give it a shot, one cap in the morning and one in the evening.....Works like a charm. Tried the melatonin but only worked once for me.
Don't know how long you can go without sleep before losing your mind...But if your already getting violent thoughts your probably long over due. :)