Remove unused imports
Sort imports
Use forward declaration
Sort forward declarations
Fix project name
Clean up blank lines
Fix recursive scheduling with the immediate scheduler.
Flip recursive scheduling counter, avoid overflow