Refactored GUI components.