simplified, added plugin for _xrf.create_roi
added roi plugin
code cleanup, simplification
code cleanup
code cleanup, simplification