add posibility of importing bloat, without running it as script
increased resolution of tree map and legend
dump_nm now returns string instead of printing the result