Wakelock added

Minor changes