Solves two bugs and adds features

Synced my version of Net::Dict into the master branch.