Updated check for editor state during Edit menu display (ref #70).

This is a fix for 7f00380f that didn't fully addressed the issue.
So far this issue has only been demonstrated on Ubuntu 13.10; earlier
versions of Ubuntu (12.04 and 10.04) or Win/OSX are not affected.