Revised manual TestRunner to support persistence of filter selection across framework selections.

Also refactored inline scripts to reduce the number of leaked globals.