termination signals now also register a callback function for the client ( which is a nice feature imho ) many small code quality improvements , fewer warnings