Fixed editMode being set incorrectly
Merge branch 'master' of http://github.com/choorp/newt