Made the http server a thread started by the GUI

Signed-off-by: gitta-mannen <mail@janpettersson.com>