A very crude GUI in place. Several WTF's found and fixed.