More code cleanup, fixes and additional exception handling for the tool shed's install and test framework.