Cleanup browser module + add preference to enable/disable auto connection of the web interface