Need to nullify a pointer when BAS exits so that it is in the right state on restart.  Also bring a few global variables into the NuttX naming convention
BAS: Fix another case were allocated pointer not being nullified and, hence, crashing the next time referenced after restarting BAS.  Also bring even more global varialbles and type names into NuttX coding standard
More global variable name changes for NuttX coding standards compatibility.  Make sure that g_bas_end is initially false
BAS: More name compatibility changes
Merge remote-tracking branch 'upstream/master'