added basename since windows doesn't have it

changed the way config dialog gets key input from user so it works in qt5

(0) -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 tip

mercurial