Handle title matching priorities (official, main, etc)

Fixes #4