Function and Constant registries are now working
Minor changes trying to track down problem deleting objects, may be best just to remove warnings on repeating/overwritting kernels