Remove temp fields in GUI.java
Remove ant warnings by switching from deprecated exception type