Improved rendering speed.
Cleaned up code, added basic benchmarking.
blah blah blah