improve jme integration + document replaceUI: 'auto'