move most dialog-like things to panel library
panels all work. chat input is broken..
client: fix ChatPanel input handling and clean up Terminal