adds support for icons

I wrote something to add the icon support. But i was to slow. :/

I had a litte problem to test the hash with the default option.