add experimental reformatting of series index.

add debugging of wifi state to diagnose what's happening to wifi on more recent sdk more closely.