removed spaces at end of line replaced tabs with spaces
every place where a time delta is computed, and then some.