Fix broken command line rendering. Should always check that editor windows exist before using them.
Merge pull request #582 from softrabbit/stable-1.0

Fix broken command line rendering.