moved removing from error build scope only after build is complete.

fixed template to display progress on error builds that are building.