Raised maximum vector data size from 16 KiB to 512 KiB.

 * The maximum vector icon data size was a bit low. That may
   be hard to track down why a certain vector icon doesn't work,
   especially when imported from SVG...
 * Don't allocate the vector buffer on the stack anymore.