Refreshes settings once a new file is saved.

Should solve #233, #359, #149, #367, and half of #205.