Fixes to the featureeditor. Now changing feature type should work.