Added thread safe control accessors, added progress bar, added comments