native targets fixed, js mem class names, context lost/restored dummy, xml-config reviewed