Fix documentation issue

Doesn't show garbage when showing documentation for user-defined words.
Improved word with larger buffer, now old words don't get overwritten by
new ones every time.