Fixed howm restarting itself instead of quitting.