Hmm other than problems with formatting in custom_tiles_db.txt (tabs instead of spaces? unicode instead of ansi?) I can't think of anything wrong with this. I got perfect results without any problems.
Do you remember removing map.rwm from base and campaign folders?