Refs #10516 Make run handling more robust

* Clean up any whitespace between each run before loading them
* Tidy up the ADS upon failure