move if.test deaper into the code so more can be reported.
only put state=X episodes on the recording sheets.
touch up html, make it pretier.