A complete reorg of the functions in leoGlobals.py, to make finding same easier.