Added loadingSpinner config demo, updated prettyConfig for some edge

cases.

* adds hide /show spinner API.