Console stuff.

Fixed #1