Fix bluesleep, camera and some other things