update and minor fix

*add os detection (untested on win)
*change resultstring formatting (fixes some urls left out; still have to
overlook)
*add construction of tablestring (unfinished - as some nil values
occour, tough not erroring out)