Performance improvements. Fixes #4 Internet explorer freezes if two many values selected