Removed some debugging stuff that was accidentally pushed earlier
+ fix bug when releasing button after dragging point or curve
+ fix memory leak
fix swedish minus simbol
clean up number scanner in Units
Arch: small bugfixes and optimisations