Bugifix: eMail sending was disabled during debug

The eMail sending was disabled during debug.
Changed the Courses->dump function and suppressed some debugging
output.