Using boost range.
Merge branch 'dev'
Call onRemoved in deleteEntities.
Added mouse support.