RAII wrapper for some OpenGL types + other smallish utilities.