Chunk rendering #2

Removed silly rendering methods. Fixed several bugs (thanks to Erik
Källberg)
Chunk rendering #3

Further bug fixes