checkpoint: patch SHOULD be working. TODO: exit button MUST kill app and child processes