Expanded stack access support in Logger.py and better error handling in JSON file IO.