Separated brush conversion code out of main and into its own ToPolyBrush() function in brush.h/brush.cpp