adding missing SIGHUP handlers
removing deprecated pastebin code
removing extra comment