Example configuration and log redirection, also fixed a few bugs I discovered while doing further testing