#10 Added error handling codes to all the subprocesses.
Closes #10 Merge branch '10_fix_gag_continues_to_build_when_failed_to_build'