Added paintReverse to pixmap, added applyDarken to PaletteSwap.