add limit parameter to everything
fix xml
fixes #1627
Revert "better fix for not scrolling textarea"

Focusing an offscreen textarea might be bad for usability.