Sourcecode tidy-up, use QGraphicsView cache option to increase drawing performance