Attempt to make code more readable, mod log levels

Added some comments and made some minors changes in main.py and
mwcaller.py.

Also changed the received/emitted <signal> log messages' logging level
to debug instead of info.