Refactored UI part.
New approach, completely broken.
Map generation started.