Add source error count event.
Fix merge conflicts.
Fix code review issues.
Merge branch 'develop' of github.com:TID-Lab/aggie into 1156_source_error_count
Merge branch '1156_source_error_count' into develop