Even more debug messages

* include/system.h
* src/main.c
* src/signal.c
* src/smime-gate.c
Some more debug messages.