Added optimizations to chunk renderer. Still WIP