More efficient render_pix_icon.
Merge pull request #258 from gjb2048/master_glyphiconopt

More efficient render_pix_icon.
removed leftovers from reader function