Set +x on gradlew
Fix license headers, style
Pass the EditSession so the worker can call flushQueue
Add a flag to make sure the EditSessions go into undo queue