Close UI windows on /quit

fixes #296