Fixed lots of GUI

Changelog to come; broken at the moment. Only breaks when you print
through GUI. Normal printing works.