Extracted configuration variables to ui.rb so that everything can be configured in one place (at the cost of repeating definitions down the abstraction hierarchy).