fixes #142, restore state from URL