Reworked UpperPanel to have private fields.