added precaution try/catch in SingleItemReplicationBehavior + minor tweaks