More work to QTerminalEdit:
- revert back to default cursor;
- better management of incoming data (for some reason QEMU sends me some
garbage);
- code cleanup;