Topic/minor fixes

While debugging my preforking app, I noticed you were evaluating a hash in scalar context to check if it's empty - while this "works", it relies on mostly undocumented behaviour, and would be better rewritten to use keys().

(also, I fixed some typos.) :)

great module; thank you!