Today, on "Why we can't have nice things theater" I've been looking around and

where I had some issues: some times it took a while before it reacts on the IR. I guess this is the part where the room for improvement is. (I guess this is because I implement my part in the IREvent function and that implies that the ir decode had a successful decode. but i should react on the first interrupt from the ir sensor)