Unit rendering initial commit
Fixed index out of range error, and unit map properly updates now