Update globalnav_v3.py

Some code clean up performed.