GitHib issue #151

Also fixed bug with double setting style property for icon images, the
second was ignored.