Make sure scrollPosIntoView always returns a coords object
Never render tokens larger than 50k chararcters

Webkit can't deal with them.

Issue #2945