WIP eager idle detection.

Some debug code enabled.