Fixed bugs in function editor
- Functions saved with the arguments in the name.
- Modifications done using FunDefDialog were not reflected in function editor.