Improve logic for transparent mode
Added new error templates [tracker #1667]