* swank-sbcl.lisp (frame-debug-vars): Only include :valid locals.
(*keep-non-valid-locals*): New.
* swank-sbcl.lisp (frame-package): New.
* swank.lisp (frame-locals-for-emacs): Print variable names in frame-package.