I went into mame.ini and changed resolution from auto to 640x480. Which is what my desktop is currently set to. It didn't make any difference, unfortunately. Same thing - some games run fine, some games just give me a black screen.
When I go into Task Manager, I see "mamewah not responding". Closing mamewah and mame either has no effect, or takes too long and I end up rebooting.