Do not segfault on faulty tile ids, but warn.
Merge pull request #914 from stefanbeller/tileids

Do not segfault on faulty tile ids, but warn.