Fixed non-paletted loading bug
Bug fixes and make update