This made me think of a GREAT little piece of software that I installed on our laptop (download it here:
http://stereopsis.com/flux/). It's especially useful when you routinely use your computer in the evening before going to bed. It automatically adjusts your screen settings according to the time of day, based on your location. This makes it a lot easier on your eyes later at night, which in turn enhances sleep quality. It may take a little getting used to but it definitely works (for me and many others).
Similarly, we use a 'wake up light' in the mornings. It's an alarm clock with a light that slowly increases in intensity over the course of thirty minutes, reaching maximum intensity at the moment you want to wake up (then it also starts making some gentle noises). This prepares your brain for waking up and allows you to 'reach the surface' in a natural way instead of abruptly waking in the dark with an awful alarm clock noise and regardless of which sleep phase you were in.