Cleaned up some more things and added a delegate for the GlitzView class to intercept rendering