optimization: store a dict of symbols instead of images/pixmaps