Error handling and icon updates.