Bugfixes and minor changes

Added an Exit ActionListener that forcibly frees any resources with
System.gc()