add some debug messages that aren't affected by debug flag