fix basename

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 -3 +3 +10 +30 +100 +300 +1000 tip

mercurial