fixed typos with the dialData and getDialValues

fixed typos with the dialData and getDialValues
Merge branch 'John'
cleaned up some code

and fixed an issue updating individual motor speeds when they're
members of a gang
switched to using local variables in update func's

Now using local variables instead of global variables where possible in
the update function and the update functions for communicating with
keyspaces and synchronizing. Hopefully this'll improve performance
somewhat
Merge branch 'John'