Change the way textures and meshes are read/written
Improve the exception handling
Do not destroy the Mesh, Texture2D and Shader inside their destructors