collecting all our constants
removing the now-unneeded sentinels
deprecated the old pre/post save hooks
deprecating dead functions