Fixed job progress indicator, and made it a more generic way of tracking a functions progress