cleaned up unused imports
detecting NetworkManager properly to switch to wicd backend