Made cleanup code more error robust
Added a one argument Ticker.addTask()