Added compact display mode. DISPLAY_DENSITY user interface option.
Fixed a few UI inconsitances
Refactored code to align with existing code