Added basic support for a global loading indicator