Fixed multiple threading bugs.

Fixed segfault if closing program while processing video.
Removing Scenegraph from ScenegraphAgregator when ItemView is deleted.