Added support to save and load data in JSON to a file.  Added missing breaks from case statements.  Code cleanup.