Minimize calls into shell APIs
Fix logic error that causes slow string lookup

Recall that plKey object IDs are index-1 (unless they key is fixed, in
which case the ID is always 0), whereas vectors are index-0. JOY TO THE
HAX!
Inline plKey::operator==
Merge pull request #373 from Hoikas/linking-perf

Low-Hanging Linking Performance