Partial support for capturing output.
Add better persistence, partial support for capturing output.
Remove junk.
Add spinner, break out API invocation for reuse.