Cleanup init.
Use cleanable buffer for curses renderer.
Cleanup all resources used by wayland renderer.