Improved inline media import. Now also imports SOUND and KEY types