Added generator support for custom code fragments.
Added WindowCallback clean-up to GLFW.