Tasks and states are now handled correctly. A state should call MarkTaskDone.cs if it is complete and has no predetermined next state. Also added in default schedules