Added a package directory for predicates. Changed the GUI code to open the windows in the center of the screen