improved model editor (basic autocompletion and search -- partially addresses improvement request #150) + minor code cleanup
merge with refactored PrototypeBuilder