Improvements on the rendering and the generation of chunks