Safety stuff in CX_AppWindow. renderingTest updated.