Also kill doc->priv->is_saving_as and write some related bits of dev doc. svn path=/trunk/; revision=5662