Closes #60 program.mode is undefined

Let's leave this, change program.mode to the command used, and have the name resolved to `manifest.title || manifest.name || "Untitled"`, like in the install.rdf generator