Fixed bug with showing error info in wrong tab/file.