fixes for upload routine
numSatellites should be an int (but it always seems to be zero due to an
apparent android bug)
Get the server and monitor working again.