Limit size of tooltips plus minor fixes