[LMP] Fixed Quality label width calculation.
[LMP] Better error messages when mask expanding fails.