Updated to support changes to the 2013.07 object model, specifically, added terminate with explanation