Merge pull request #78 from yenatch/master

Refactor gfx.py with bytearrays, fix graphics dumps, rewrite the compressor.
Update Red music commands
gfx: Let .wxh filename arguments exceed 9.

Nothing needs this yet, but chances are it'll happen.
Merge pull request #79 from dannye/master

Update Red music commands
The checkflag command family uses engine flags.
Event command loadwilddata takes a third argument.
Merge remote-tracking branch 'kanzure/master'