more cleanup and proper shaderformat storage in cubemanager