Added MAKE-PAINTER, exports
Switched to using finalizable classes, ensured disposal of buffers on buffered, removed the need to recreate QPainters all the time by caching it on the buffered.
Ensured proper cleanup on shutdown.
Fixed for finalizeds
Switched to using QGLWidget for the document-view. No idea if that'll help anything though (?)