Handle $PS1_debug_trap better in subshells and such

When opening new terminal PS1_debug_trap may already be non-empty, we
have to clear it in each preset.
lastcmd_status works again

Using $PROMPT_COMMAND instead of debug trap