Plot range settings for each plot
Ugly bugfix -- memory leak -- fix it
Use of QSharedPointer for functions

Avoids memory leaks and double free problem
Hf can't be linked to another Hf, disable that
Secure function deletion
Delete functioncurves correctly
Save variables, set zoomBase correctly