Yes, it is mame (forgot to mention). I'm currently using 0.167 (and mGalaxy 5.5), but tested several versions of mame and it happens in all of them. On a fast computer you almost don't see it, but on a pentium IV the DOS window is annoying.
As far as I understand the DOS window is related with the ...