XBMC: remote debounce code. WIP