Cleanup and added sentinel for lirc process.