Finished migraiting signal handler to cpputil.
Small comments.