Live

Merge in a bunch of features related to live tracking. Refactors out all the analysis code to a separate module, and runs the analysis in real time while logging. Also added a few command line switches to the logging bot, so it actually doesn't log by default.