improve progress bars, and know how to exit sometimes