Minor bugfixes

Just a few minor bugfixes:
1. Don't restore minimized window after receiving a message.
2. Don't display error in "Quit & Shutdown" if twisterd is not running.