voxel rendering performance and debugging improvements

- fix byte normals
- fix crashes in switching between voxel shader and normal mode
- added memory usage debugging