Debug console fixed/improved