Add error handling for missing config files and usage of joseph_table after switching avatars to device.
Merge branch 'master' into feature/pitoti