refactored for a single netmanager instead of one per tab