Complete UI refactoring.