Made the progress bars and text dynamic #263

Made the progress bars and text dynamic as per #263, does make a difference especially when you keep the tab open for extended periods of time and forget it!
I'm not familiar with "|" what does that do? Seems like an "if error, then 0", but not sure what error is possible here.