make CCEGLView extensible
fix some windows separator bugs