trying to make globalbuckets work.
Right in the middle of getting global references to work.
Right in the middle of getting global references to work, some more
hurrah, toplevels assignment to globals appears to be working.
oops, forgot to use var here.