Fix 3DCube invisible problem by wasted GL.End() removal and more mods.
* Separate DrawCube procedure to improve code readability.
* Move keyUp event checking from UpdateFrame to Keyboard.KeyUp.