fixed two crashes, fixed elided text display