Control panel UI refactoring.