handled more types of shutdown
handled more types of shutdown

For example, if run without the nogui flag and the user does command+q on the resulting default gui, the start/stop buttons will return to normal.
WillEccles/MinePanel