fixed video record and made opengl rotation and scaling of square smoother
fixed crash caused by EAGLContext not be properly released with ARC
starting to work on shaders