Improved some messages.
Fixed the merged cell detection code.