Print interact state when an exception occurs (fixes #425)
Allow the user to create permalinks with interact values and bookmarks

(fixes gh-404)