Fixed all memory leaks in webserver.c that i could and saw
Properly disable impuls receiver
Tried to free as much memory in webserver.c as i was capable off.