fixed navstate checks
Merge branch 'doc_overhaul' into testing