Add exception handler around gui code to show top level exceptions if they happen.