PimN, Yes its time related the problem of the flag erasing mechanism. Additional for information only the work around with IRQ set to High from rising doesn't works for me. I thing we find a stable solution for that problem.
Relative to IDE i try the Atmel Studio with an Visio Addon for Arduino...