Imported BmpBlender changes from TileZed.
Removed unused code in lotfilesmanager.cpp.