Added rough logic to spawm mame exec.