Lots of bugfixes. Especially editing with popup.
Merge branch 'master' of https://github.com/Geodan/cow