Catch exceptions here, still need to output a generic error tile.