Added chrome.idle.
Made trivial consistency/correctness changes.