added 32-color palette support
v6 - see readme