Late bugfixes

* Re-added default transition CSS overriding in Jonah.
* Fixed the bookmark href being created too late in Sugarcane, producing
incorrect state serialisation.
* Fixed some implicit globals.
* Fixed Jonah's restart link not clearing the URL hash.
* Fixed pasted widgets' names having numbers appended unnecessarily.