Closes #63. Added refresh of settings in viewer.py.  Fixes minor PEP8 issues from prior commit.