Also the UI updates are mildly slow, e.g. when you press enter for a new line. Could make that a bit simpler/faster.