medium: ui_context: Lazily import readline

Avoid problems with readline adding garbage to output
by only importing it when necessary.

See: https://bugs.gentoo.org/show_bug.cgi?id=246091
medium: ui_configure: selectors in save command

Enable selectors as for show and edit in the save command.