Moved editable constants into a common header file.
Fixed bug where item generator was not respecting the total item count.