Could be your neck posture when your laying on bed looking at the laptop. sit up, neck straight(no looking down) pile the laptop on a couple pillows. Bad posture causes headaches. Possibly go to the chiropractor and see if your all aligned..
i actually suffer from migraines but thanks! computer usually doesnt help. merp :-/