simplified backlight and screen refresh handling a bit