Maybe just PT_QUIT and PT_CURRENT_ENTRY are enough?