Implemented API changes, rewrote level rendering code to fix using multiple textures in a single chunk