Merge pull request #29 from SmartCat/gaf_4_develop

* fixed mem leak
- Disabled old masks
- Merged shader fixes
- Updated shaders
- Updated objects construction
* Fixed frame counter
+ Added check for off-screen sprites
* Some fixes on new stencils
* Fixed color offset calculation
Merge remote-tracking branch 'remotes/origin/gaf_4_develop' into gaf_4_develop