move orienatation and version to header.  Align on 4-byte boundary