Fixed some bugs causing erronous output. Tested all commands on the slightly smaller thttpdTest.log