Added mode parameter to File.write
Minor bugfixes in objectToCsv
Dependent graphical output in getPDF

When a return value is requested no graphical output is generated any
more.
Added windowType to DifferentiatedTrace
Minor Fit.FitObject changes

fit and guiFit now take option weights-parameter
plot not works without any parameter