sensible globals ctor