Merge remote-tracking branch 'inguin/emi-freeze-frame'
Merge remote-tracking branch 'inguin/emi-fixes'
Merge remote-tracking branch 'inguin/emi-overworld'
EMI: fix pause handling

On vista point it may happen that two sequences for the rock landings
are executed at the same time. Although they intend to be locked via
pause_scripts(), changing the set will call unpause_scripts() and unlock
all of them.

The patch will use the optional parameter for (un)pause_scripts() to
determine whether the pause calls should be counting (e.g. when
switching a set or opening the inventory) or not.
Merge pull request #793 from chkr-private/pause-handling

EMI: fix pause handling
EMI: Mangle filename when searching for shared material
EMI: Store materials in costume, not in mesh

When multiple meshes in an EMI costume use the same material each will have
its own Grim::Material instance. If a material used by multiple meshes is
changed by a texi chore the instances will become inconsistent.

With this patch materials are managed by the costume, and there will only
be one instance of each reference material.
EMI: Store active texture index for materials