Use the main window statusMessage for messages rather than a qlabel.
This is a little tricky, because it seems that setting the message
can't be done from inside a paint event.  This delays the drawing
until after the paint event is over.