Update from dev

Extra debugging info.
New progress bar code