Got rid of listen() pointer, fixed debug output a bit