modules/pua: db_mode=2 send_publish fixes

- plus small debug message edits