Fixing some console stuff.