Added support for long polling if there is no new user input.
Cleanup (but still crashes the Pebble often)