=Failure image bug fix and tweaks for Mac OSX