pub fn write(text: &str)
Properly handles writing text along with the progress bar. println! works, but looks a little clumsy if the loop sleeps.
println!