Add references to a future message store.
Condense some console logging
Fix up initialization so that init code doesn't run until after everything is declared.