Some more cleaning

this removes all compiler warnings except the libwebsockets ones. But
that is not completed yet...