1) rename options.dtDelay to options.delay. 2)update sample files to make them work with latest API changes