Go image can be reconstructed from ui.Image/allg5.Bitmap. Changed allg5.Scale from interface to struct.
Added comments to palette.
Reversed order of operands when comparing with nil/0 .