Using data with page index. Disconnect bug fixed.

Index received correctly on the other end. Decoded right. Disconnect bug is fixed. Detach and reattach now working.