Buffer handling.
Add loading indicator on index.