[Incomplete] Backwards-compatible performance fixes

Don't pull this yet, I'm not done.

Anything I put on this branch must be backwards-compatible in its I/O. (Yes, I'm aware you haven't released any version of the plugin yet.)