refactor signal handling to lib/, clean Makefiles a bit
change p hotkey to h
more readme