Sending the cursor back to the editor after all's finished