Lots of changes to reduce dependency between the various graphics components. Resizing currently works, although it is not yet finished.