Fixes to functions called by buttons in featureeditor.py