Added standalone function event registry

Also messed with the FBO some, trying to get resolutions to scale with
window properly