Several fixes for the navigation plugin

Fixes several bugs within the navigation plugin. See #101, #99, #98.