Tweaks to grammarian plugin and experimental Perl autocompletion