improved tests for sequence and decreased the default ammount of time that a condition is checked for once() calls
rewrote scheduler so that it works with sequences instead of tasks/functions