Make most debug messages print only once

This stops messages about not implemented functions flooding
the console.