fix detail in function to detect non numeric string
added a function in tools namespace to do an atoi
prepare label graph callbacks to update the graphic