Cleanup: Ensure that exceptions raised during trigger prime are recorded as a TestError
Cleanup: Ensure Modelsim exits when not running in GUI mode