Bugfixes & tweakes, and some crazy new map-coloring functions.