Bug fixes with debounce timer and classes that use it.
Added features and made things more simple.