Added code to generate XPM minimaps and used one to generate my first custom minimaps.

I'll do the others little by little. ;)