Changed definition of a second

Also removed whitespace.
Changed timer delays - Fixes #267