Avoid buffer overrun in kpress() and remove limit on shortcut strings.