Revamp mainthread-io analysis.

You don't need the "999999" for submission date (assuming __END__ contains YYYYMMDD).