Fixed a few issues, some UX improvements and added some error handling and alerting. Closes #18.