fix some bugs with display list, warnings, errors for windows, and buggy intel graphics drivers