shovel everything into explicit __main__ for future breaking out into functions

I heard you like changesets that are "pretty much every line"