refactorize, fix BackgroundedPlugin, remove listeners that dont work.