Fix things when there is no itchpad.project-dirs set yet.
Update to new devtools editor API.