Merge pull request #14 from csmith/master

Split up rendering a bit more.
Dispose of windows on the EDT.

Fixes DMDirc/DMDirc#33