Replaced instances of 'hash.has_key?(:blah)' with 'hash[:blah]' to better handle the 'hash[:blah]==nil' case. Closes #49.