Formatting
Remove unused function
Fix bug where JSON output wouldn't actually output JSON
Spelling
Formatting
Two new functions, destroyProgress and destroyAllProgress