GUI try/catch