Replaced swing listener interfaces with adapters where applicable.
Removed some serialization warnings for unserializable classes with SuppressWarning annotation.