changed hardcoded gridsize into a defined macro
clicking on tiles now change them based on selected terrain tag