Move included files within Mote-Include to the bottom of its initialization.
Add top-level gear table, and standard vars for utility functions so that they
always exist.
Move remaining user globals inside a called function so that they can access
the gear table as well.