changed to swt for gui, much better