Remove call to loadParameters which was added in the last commit. That line breaks the wifi connectivity.