Changed output to files.

lap time is added to file output.
code for output of td error is cleaned.
there is an option for (de)activating updates through parameterfile