Fix problem with addOutputsWhichMimicsOffer() + Better locking