Fix a couple memory leaks, colour issue

Remember to use nbt_free() instead of free() on an nbt_node pointer.

Also, stained glass now renders properly.
Added high-contrast height shading

Customizable using the "contrast" and "center" variables.