adding some bounds checking in nmea parser (which sucks and should just go away anyway)