cleanup debugging output a bit for known working functions
further cleanup of debugging output