Fix Error Handling

Added/fixed error messages. Put them on the main thread so that the app
won’t crash when more than one message pops up at the same time.