We don't need to serialize anything here. We've already saved by this
point if we need to.
Fixed a bug with creating new document.
Coloured in search results differently if they're the current page, or
if they don't actually exist (e.g. for save as).
Made 'insert' work correctly.