Set correct transitions
Fix issue as Done can only go back to do and not to in progress directly
Can now be run from main. Also fix a couple of issues where using incorrect string comparison logic and using a queue incorrectly.