Hey Jason,
Hang in there,,,, before you know it you'll be graduating and all this will be behind you.
I do all nighters all the time,,,,, I've been working steady 10 hour midnight shifts at work for the past 16 years so I know how those hours can get wreak havoc with your internal systems. As a result of my schedule I've pretty much adopted a "night time" lifestyle even when I'm not working. Except f course when it's huntin time,, then I'm up at the crack of dawn and wide awake. I agree with Bill,,,, don't overdue the coffee thing,,,,, it'll come back to bite you in the end.
Good luck with your studies.
Jeff