added webcore options to config
made commandline argument host optional
no more segfaults on exit

removed daemonic status from all threads
added code to detect if process is attached to gdb on startup