remove some memory leaks (QGraphicsScene and deriving classes needs a parent)

Signed-off-by: anti-freak <antifreak2011@gmail.com>