fix no-display of CPU bars per core (and fix some warnings)
Differential Revision: https://git.reviewboard.kde.org/r/129838/