Fixes _markupIndex bug
Adds escape keybinding for quitting