fixes to dictionary lookup
support for option jmd to get jmdict file even in gz format