And will fix outdated mesagl check as well.