Re-worked Bean sleep logic.  Poll the CC until the CC sets the interrupt line to SLEEP.