Added ability to control deadtime from config. Set default deadtime to 1800 seconds