Optimize the OpenGL renderer by using proper indexing.
Start documenting MGUI using Doxygen.
Fix a window resize related crash on some windows pcs.