Abstracted event loop handling with scopes
Optimize eventloop, fix status display
Proper room leaving and tab closing, and two bugs squashed!