Don't turn on the $finished flag until after stopping for uncaught exceptions

This lets the user continue after the exception, stopping in END blocks if
they wish, finally stopping in at_exit()
When we can't find a sub's uuid, make one up

This seems to happen when stopped in special debugger subs like at_exit()
and untrapped exception handlers.