remove usage of map
use case insensitive glob
move things where they make more sense
some refactoring
avoid competing tooltips