Fixed formatting for IdSet
Formatting in before/after plugins
Changed API so that PANDA_MAX_LEN can be varied without changing ABI