Improved syncing of categories between productions and events.
Closes #25.