Keep the list of user functions sorted
Fixed scrolling of main window with repeating function window open
Fix for saving functions that contain errors