This also adds a hack for replacing .png with .dds (maybe the run-time
should be responsible for this? perhaps image extension replacement
should be a command-line argument?).
Improved get_node_name_id behavior for <node> elements with no id and
no name.