Final final update

Fixed some selling painting functionality.