Got rid of all errors and QPaint

Now compiles and QPaint code is gone. Character still needs to be moved
to QGraphicsItem.