improved logging

+ option in settings file to disable xmpp messaging
* all main prints now works through logger