cleanup in comments and refactor

Fixed some comments and removed the dependency between debounce and
throttle