fixed nasty bug in collect stats interval being less than 0 resulting in cpu usage