added kern/signal.h, did some cleanups etc.