Fix problems with disconnecting two blocks.

Don't construct a block tree using Qt. Instead all blocks have a null parent and child blocks are moved manually when parent is moved.