Polishing

- improved code;
- cleaning opengl