Made APIException more robust in face of certain failures. Added functions to deal with new track options.
Updated
New tests. Cleaner output.