BaseDialog destructor removed

It was used to verify that there was no dialog. But that is not valid if
the game is closed with a dialog open.
Removed several header files not neded.
Added debug messages.
Remove warning
Detect caves and add watery walls

This is done by looking for stone in a number of directions. If it is
found in enough directions, we assume it is a cave.