Moved progress format enum and global variable out of the global namespace