Tweaked the IR LED REM algorithm.