upload progress bar

.... and some fixes - closes #161