fixed error in saving editor
Merge branch 'develop' of github.com:bendisposto/prob2 into develop