Swing interface mostly works now.