material: emach works now; fix import issues;