Added Unit Promotion

Added unit promotion.

Refactored Viewer’s unit setup functions, new setupUnitDisplay function
sets up the display for one unit with the need for extra parameters.