Replace the MessageBoxA by writeln (MessageBoxA can cause some issue when message like a calstack is really long)
Fix potential issue with Mesh.destruct method if mesh doesn't have texture or sharder