LOTS on analyzer work, almost done. Also, a bunch of other minor fixes.