- Improves invert_px
- Cleanup