Fixed bug - glk_set_window(NULL) doesn't crash anymore