- Added resources folder

- Fix. OpenGL resources were being free while there was no more OpenGL context.