Added male-only and female-only messaging

Yes, this will mostly be used for lewd images. I don't know how much it
will be used, but I can think of a few occasions where it will be
useful. Also, I did some slight refactoring