Depth conversion fixed
Plane copying fixed
Gamma function fixed for depths other than 8 bits
Using C function pointers in glow lib for performance reason.
Flat glow added.