fixed exceptions

Signed-off-by: Oliver Lillie <buggedcom@gmail.com>
fixed add of parameter value that was exactly '0'

Signed-off-by: Oliver Lillie <buggedcom@gmail.com>
set default output to true in example config

Signed-off-by: Oliver Lillie <buggedcom@gmail.com>
added support for threads stream indexing as reported in #30

Signed-off-by: Oliver Lillie <buggedcom@gmail.com>