Fixes to ensure out-of-the-box functionality

Fixes to errors that come up if the app is downloaded and deployed in its present state.