Fixing several console issues