Limit each history popup menu item to 50 chars.

[1799]