Few small Arma 3 changes

Names of variables are generated from text field for Items. Fixed init
for Items.

Note to author : feel free to reject entire pull request, just trying to help with few minor tweaks I had to do to make it work for Arma 3 (my project at least).