Add get/set methods to progressbar_container and clean up a bit