Fixed more bugs in screwy timer setup loop