Added error reporting in UI