bugfixed non-persistent window size
fixed occlusion test with multisampling enabled;
cleaned up