Console

Implements commands as suggested in #4131.