some further stuff changed, but now I can't close the main window or render window