Updated barf to force string, modified error catching