Status percentage calculation and progress bar