Fixes the cycle error, improved legacy detection fixing false positives,...

... and fixed network status for emulator