Fixed some compile errors in navdata and laid the basis for sending navdata.