JAL-1171 refactor code to allow gui update for global status before and after results...