Updated root = new StackPane() to be on loadIPGUI instead