Implement click on buffer and CTRL + click on buffer.
DUB update.
Remove part relying on libd.
Undo/redo with mouse buttons.