Add support for displaying metric units
Fix tab-indents
Fix bug in phg altitude display logic