Added trimming of Redis logs.
Changed name of key string.

Peter named it.
Fixed working dir problem.