I have not read the article (yet).
I used to have trouble falling asleep, to the point where I was concerned enough to go to a doctor about it, but I never followed up after the first visit. Instead I not very intentionally made some adjustments on my own which resolved my situation:
1. No lights/noise. Get rid of all blinky things, particularly blue and green lights. Faint red lights are tolerable. Black electrical tape is a gift, use it! Noisy computer fans are bad! Turn off the computer or move it into a different room.
2. Take better care of yourself! Eat better, get more exercise, and get up at a consistent time every morning. A healthy routine is important.
3. Don't worry about it! If you lay awake all night worrying about the sleep you are "missing" you are only making the problem worse. You don't need to worry about it, you will be fine. We miss sleep ALL THE TIME and are still functional members of society.
Once I stopped worrying, even the rare nights where I can't sleep go faster because I'm not focused on the clock. I use the time to think about more interesting and less worrisome things or get out of bed and do something productive.
Also, as others have said, Flux is great! I also have Twilight on my Android phone! I love them both.