Fixed crash when having multiple tilesets with terrain

The terrain brush will now refuse to look for ways to transition between
terrains from different tilesets, which is better than crashing in this
situation.
Removed explicit Rename Layer action

You can now rename layers using F2 only when the layer list has focus.
The advantage is that you can now also use F2 to rename objects or
terrains.