Bug fixes for AdvMAME installation and SAMBA configuration