further preparations for signal handling in a dedicated thread

Porting to spielwiese will be done as soon as earlier commits related to the link interface are ported.