Using a consistent way to assign globals.
Moving init routines to the bottom of the page.