Fixed issue with updating field calculation functions from within the application. Also merged calculator getfunc functions.