some patches concerning signals and standalone OS