Replacing the removed but still needed $consoletools.
Merge pull request #981 from niel/dev

Replacing the removed but still needed $consoletools.