Refactored TexturedCubeDemo to use loadpng library