b:Fix segfault in pinger
e: be a nice boy and free the file descriptor used by the system logger
b: fix creation of shared_ptr to be exception-safe
b: fix creation of shared_ptr to be exception-safe (XMS)
o: minor bugfixes and style fixes
o: refactoring
o: remove error-prone use of boolean arrays to check if a service is machine specific or not