Changed comment
Changed exception logging
Improved wifi handling