Implementing snippet editing, take 2 (almost done; todo: non-ascii names, better error messages for not-logged-in users).