Some rearrangement and commenting.
4space tabs as per PEP8.  Oops.
More uninteresting formatting churn.
Add some incomplete stuff to run a firefox process for testing.