Dispose of windows on the EDT.

Fixes DMDirc/DMDirc#33
Merge pull request #15 from csmith/master

Dispose of windows on the EDT.