Fixed sigsegv caused by emmiting signalEnd two times
Monitor now saves the device on which the process ran