Several fixes and improvements for the navigation plugin

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