Removed unused member
Formatting
Fixed crash when there is only a single color
Add libpng in package