changed outputProgress to progressBar
Added server side events (WIP)