did a lot of work, fixed some (really stupid) mutex errors, code is about ready to add the various gs503 device code