Main class for pty terminal added.
Set log-level to debug.
Scroll y after wrap. Test fixed.
Open session by default in main.
Fixed styles problem on damaged redraw.