added locale formating for altitude number
cleaned up some old/unused code