twins: Add debugger
twins: Debugger persistence and UI improvements