make into minor mode to avoid keymap collision.
add support for multiple frames.