implement debounce opt and add handling for --delay arg

fixes #23 and #24