Added trace code to NavigateTo implementation
Added support for gm

#closes 1233