Staying in front of the monitor or the boob tube before sleep is really bad.
The high-intensity bluish light (most monitors are set by default around 9000 degrees K color temperature) makes your reptilian brain think it's morning or daylight and screws-up with your melatonin cycle (the brain juice that makes you feel sleepy)
Reading before bed helps me sleep easier and better. Watching tubes is highly stimulating (lights, moving objects, etc).
So get to bed and read.
I put a folded towel neatly folded on my left side and I read on my left side, two pillows, with the towel supporting my book-holding hand or the book itself.
I always buy pocketbook format for night time reading. I hate hardcovers.
I try to get to bed between 10 and 11. Mind you, I'm the type who could stay up up until 6AM... If I go to bed at 10h30,I'll read up until 1AM and when the book falls off from my hand or that I re-read the same page thrice, I know it's time to just extend my arm and flick the lamp switch.
Generally speaking, the earlier you get your sleep, the better the sleep is, even for the same number of slept hours.
Sleep dysfunction really robs you of quality of life.
I've been sleep dysfunctional for at least 20 years. I'm now finding tricks that helps me sleep better. The biggest help I found up to now is to enforce a strict computer and TV curfew. And I feel much better since.