Improved some console messages for debugging