Fixed version skew problem which prevented proper REPL operation.
Added a proper UUID implementation instead of a random int.