remove unused code (for unused execution in separate thread)
fixed #50
added support for singleband gray scale as SLD
improved error messaging