fixed most issues plus changed all joption panes to message dialogboxes (swt dialogs)