Split steps of widget initialization
Make plugin self contained, doesn't make any global selection
Refactor in processing style methods