Use trylock to assure we never block
Use more QObject ownership for memory manegement
Only have one setConnectionRule function
Fix Offline mode