Removed unrequired Pause sleep
Added black window when backlight is off.