used fxml instead of java coding the UI, mostly working except for sort.
Fixed sort.