Implement length limit to reduce spam

UD doesn't seem to have a limit on how long a definition can be, so this has been implemented to reduce spam.