Replaced swing listener interfaces with adapters where applicable.
Removed some serialization warnings for unserializable classes with SuppressWarning annotation.
Merge pull request #544 from adrianbroher/master

Code cleanup: Replace swing listener with adapters; Added SuppressWarnings for Swing based classes.