Replaced old hwgamma with OpenGL gamma

* OpenGL functions added, we require atleast OpenGL 2.0
* Minor refactorings related to the changes done
* Print message if fetching desktop resolution doesn't work
* Other: Colorize unknown command print