several minor changes: result,names
fixes for IE
clean up;error message