Use StringCchCopy instead of StringCbCopy, and do it right
Initial cleanup of reg.(cpp/h)