more editor enhancements, now has basic working functions