Commands know about the resources they modify
Improved save, added saving task
Close project action