added version defines.
Improved random item name generation.