fixed print_lzma script
fixed inheritance in named maps
named map tests and fixes