fixed dismissal problem on guided input, improved language tracking