Further refactoring--now resetPane(JPanel, JPanel) takes two objects, making swapping easy