Added code for reusing OpenGL resources, handling multiple contexts and implemented resizeTo for GpuImages a