empty tags support, cmd fluff, fixed minor bugs

Empty tags now make the generated text hidden
added "--generated" to keep track of files
fixed a few places where text was from wrong xml