Dots removed
Documentation
New connection state, and some variable protection