Trying to create a singleton measurementtree
Sadly this metaclass approach doesn't work for some reason
fixes #122 Fixed some problems with updating the GUI when labeling