WIP: StatePlugin
Split (Main)Window
Move connection save & restore to StatePlugin
Fix TrayPlugin after WindowPlugin changes