Trim also long app names in front page. Closes #311