add sizeof(::CompositeKind) for the sizeof the a struct
add tty cleanup for signals