various fixes during client shutdown, also fix disconnect button

it was exiting..after i fixed that, a couple crashes and state not
getting reset was to blame..(e.g. mainmenu not showing, escape not
hiding). now i just need to get reconnect working (some state seems
to be not getting set back properly and will crash)