Implement browser resize with workers
Reorganize selenium handler to make it a bit more thread-friendly for the future