more work on scheduler restart

- still need to write a test for migration
- need to fix scheduled tasks not being over-scheduled
- should check that non-scheduled tasks are also not over-scheduled