cinder/Cinder — pull request #589 by richardeakin (2014-11-16 02:13:42+00:00)
Title: Check if main window exists before calling getWindowIndex( 0 ).  

Fixes #569.