Fixed bugs around save/load state.

    Changed Model.filter to .get to catch errors with too many & too few.
    Added console and alert debugging on user side to warn of issues.
    Added additional checks for failure cases.