Bug fixes for Skills plugin and a massive global optimization

This merge would introduce the following:

- Multiple bug fixes to the Skills plugin. Taking it from an unusable mess to a bug-free utility
- Massive sweeping optimization (possibly 94%!) to broadcast code ec0b995