init deadlock if unwaited orphans/zombies
The init process will deadlock the system if it exits while it still has children processes or zombies. This may be due to the LastPrayer() code that adds the children/zombies to the init process, but that's the current one, so it'll run forever. Additionally, the whole code is just a mess.