Why won TAB bring up the configure screen?
In your mame directory there is a sub directory called “cfg”. In “$MAMEDIR$/cfg” there is a file called “default.cfg”, delete this file (With MAME not running). This will remove the default keymappings that MAME uses. If you have other files in “$MAMEDIR$/cfg” and they dont work after doing the above you need to delete these files too.