Update ClientID generator
Conflicts:
	vm_api.c
Remove, replace and add debug messages and debug level config option