Miscellaneous and minor optimizations
Rename gamma float to gammalevel to fix conflict...

...with GCC gamma() function. Thanks to @Luke-Nukem!