XML console cleanup