Changed the painter to use canvas.after so that it clears properly.
Turned off the cache-like thing I did because it was causing problems.
Skipped the viewer screen, although haven't removed it because I was having trouble doing so. Fixed the painter so that the constraints work properly for blank pages.