Put in miscellaneous fixes in the tracker and peer pre-testing, and add some scripts used for testing