fixes #395 - navigation exception handling
fixes #396 - preserve URL params