Added user preference to keep screen on.

Fixes issue #48.