Compile your own mame using the Highscore Diffs and Headkaze's utility, and dont worry about the nag screens ever again!
To answer the actual question though, if you were using Mamewah you could probably do it by passing closemul the window parameter from the command line using the rom tag, not sure about how to go about it in Mala. Never messed with that though.