Add a loading indicator

PR for issue #44