Don't continue when build has failed 2

Hello Jacob,

I've made three improvements. I hope you will consider merging them.

Regards,
Ian Gibbs