Added warning for tags to use them correctly in the metavar.
Added autogen of log file.
Removed unneeded comments or commented out code.
Added some test folders to gitignore.