Minor re-org of main.js: assignments, init calls, event handlers
Minor re-org of main.js: assignments, init calls, event handlers

Signed-off-by: Rick Waldron <dd8fdbe95c7f81f312b273ef8860922803e9ef16@gmail.com>

maxogden/meatspace-chat,sole/meatspace-chat