Randomized sand and rock for Dune 2000

Followup of #4394. Contains a lot tileset cleanups. I had to work with the horrible WinForms editor so I stumpled upon crashes and problems I had to workaround while #3377 is not ready for editing.