Better line length in parser
Support mouse and touch events simultaneously. Closes #670