changed spritesForMessages from NSMapTable to NSMutableDictionary