code errors fix for reading demo + fix for bad bitmaps inside a map https://github.com/HarpyWar/nfkmap-viewer/wiki/BMP-картинка-палитры