freq_tracer: add documentation and comments
freq_tracer: add error estimation
freq_tracer: fixed window
freq_tracer: idle/run switch, automatic initial values, print result for window center; few small fixes