work around possibly very slow response to font metrics request on OSX
Faster recovery from outboard server gnuplot_qt being killed
Safeguard againt NULL result from gmtime()
Calculate errors of linear regression parameters
Strip trailing newline character