Initial rendering.
Resizing handling.