added breaks on debug messages. fixed esc.