Properly suspend & restore UI state
Fix gui
Properly disconnect when authenticated