Fixes for Quads and Smoothing.
Fix for materials for multi-colored bricks and color value 16.
Added support for transparent colors.
Several bugfixes and optimizations.
Merge pull request #2 from Banbury/fixes

Merging fixes for materials, quads, and improvements submitted by @Banbury