Emit more warnings …
Convert some debug statements that could be useful for an API user (either because they want to show to the user, or to react to the warning in some way) Fixes #960