Helper function for updateUnitCommands; sets up "unit panels" (i.e. panels with rows of icons) for the currently selected unit.
Sets up icon tooltips.