editor: Add more comments justifying setTimeout for focus handling