modified client to fix possible OOM errors
adding a few logfiles
added kernel execution error handling