Implemented PancakeReallocate()
Improved configuration API

Now supports lists of groups and properly copies groups when necessary
to avoid memory corruption. Configuration settings don't necessarily
need to provide a structure pointer anymore.