Tested the new nav code and found stupid errors.

Mostly imports and wrong variable names.