fixed #673 also made the window show up a little quicker
Small change to stop the previous menu from flashing up
Merge pull request #676 from dazoe/fix-673

Fix #673