Some small code improvements in the gk.framework.php file.

* better comments
* shorter code
* added missing class fields