Added proper element cleaning routine.
Loading plugins and cleaning workspace works