made function editor uneditable on default and added EDIT buttons to function boxes