engine: Fix issue with GLFW hints

Was causing issues running engine under gDEBugger
mesh: Different flags for mapping/storage

Also added some comments and tweaked map error checking to release the
buffers on error.