Performance fixes

Fixing some performance issues with the newly refactored browser runner + some other plugin-related fixes.