tweaks to support the "enter" soft key

also includes remote session ending and some bug fixes