Improve core UI error handling