Fix a bug with passing on Redis host arguments. Other small tweaks and fixes.