Remove some flags from the global scope
Remove some flags from the global scope

Flags that are only used from within the init function do not need
to be global variables.

lazyengineering/gobase,lazyengineering/gobase,lazyengineering/gobase