Fixed #41. Progress bar now refreshes after analysis completed