Delete values - settings

Added settings so you can turn doctype delete on and off.