monitor: Do not look for monitor clients when monitor is not compiled in.

write_to_log() tries to find monitor clients even if monitor module
is not compiled in. There is no need to do that.

Patch by malakudi posted in ticket #3137.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8303 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Some cleanups regarding signal handling and shutdown.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8304 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Fix killing of OSCam when it is hanging on binding to ports.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8305 4b0bc96b-bc66-0410-9d44-ebda105a78c1