Merge pull request #80 from yenatch/master

loadwilddata takes 3 params, and fix engine flag parsing.
Event commands "name" and "trainerclassname" take another argument.