Revert keyboard interrupt handling.
Extract 'find_empty_key' function to 'tree_utils.c'.
Modify 'getTaskParent' into inline function.