add ROMs
add device unplug/destroy detection
fix merge attempt 1