allow autocomplete container to grow wider than the text field
avoid bug in calculating total combinations
improve history view