Try installing flux on your computer. It dims the light and changes the color temperature when night falls. It makes the computer much more conducive to sleeping instead of staying up on the computer all night. There's a lot of good research behind it supposedly but I haven't read it so all I can tell you is that I really like it.