fix issues with grib files which have 1 entry or 0 (invalid files)
detect and use npot textures if available, correct hiden message rendering in opengl