Fixes float definition

For X-Plane floats sometimes look like integers
Fixes serialisation of arrays
Adds connected? query method
Ensure that the documented examples actually work
Move "write" to right place
Add inline doc
Add joy-toggle function