This fixed hopefully the problem that the listeners were not informed about a new action if it was the same that has been finalized or canceled during the same pump. What led to strange behavior. For example, the animation of the action was not played.
Fixed small copy and paste error.
Moved the code that dispatches a sdl event to after the new mouse state was changed. Fixes #849
Fixed the problem with the front listeners in EventManager. fixes #848
Added get and setMainMultiInstance() to the Instance class as discussed here http://logs.fifengine.net/%23fife/%23fife.2014-06-19.log
Added getMultiInstances() to instance.i fixes #847
Little fix for getMainMultiInstance() in case its called on the main instance.
Merge pull request #850 from Beliaar/master

Moved the code that dispatches a sdl event to after the new mouse state ...
It appears to have no adverse effect on Fifechan. Checked it also with the new pychan branch.
Fixed bug in LayerCache::update() that led to a problem with Layer::setInstancesVisible(). fixes #851
Merge branch 'master' of https://github.com/fifengine/fifengine
A bunch of minor fixes. Not initialized variables, useless variables, reduced scope and similar stuff.
Make the changes made in b87d8f9 compatible with older clients.

This is important as it allows clients to use "0" and "1", as
required by the last FIFE release. This way they can be
compatible with the latest release and current HEAD.
Fixed MultiObject bug.
Added IMouseFilter. fixes #855
Fixed bug with MultiObjects in limited pathfinding environment.
Renamed bad variable name.
Fixed two bad bugs. refs #852
Merge branch 'master' into pychan_porting