Tidy up some debugging text