Changes to justify WakeLock, updated comments.