Refactored initial JFrames and JPanels.