Fix broken command line rendering. Should always check that editor windows exist before using them.
Merge pull request #581 from softrabbit/master

Fix broken command line rendering.