Status bar now updates style appropriately, refactored foreground light element code and implemented it in the statistics tab