Remove some dead code

git-svn-id: http://svn.code.sf.net/p/sutekh/code/trunk@3282 a4bb362d-5410-0410-a86c-8388c1e7b32c
Improve robustness when dealing with icon images with unexpected properties

git-svn-id: http://svn.code.sf.net/p/sutekh/code/trunk@3283 a4bb362d-5410-0410-a86c-8388c1e7b32c
Merge latest fixes from sutekh/trunk