Omit specific mame parameters since they may be set through the mame.ini
Wrapped parsing of xml in try catch block.
With older lxml versions Syntax Exceptions may be throughn at the end of an XML file. See this bug -> https://bugs.launchpad.net/lxml/+bug/1185701