Improved speed and reliability of init
Improved speed and reliability of detecting loopback mode