Fix bug where waiting for input prevents some text from displaying
Fix wrong register being used in motion detection