git fork of https://bitbucket.org/elemental/emumaster/