Add more GL thread checking