Debug level, get/setters, disconnection fixed