coreserver: Add timeout to sync reply polling

Signed-off-by: Michael Buesch <m@bues.ch>
coreserver: Add possible async options

Signed-off-by: Michael Buesch <m@bues.ch>
Port GUI to coreserver-API

Signed-off-by: Michael Buesch <m@bues.ch>
gui: Handle server messages with timeout

Signed-off-by: Michael Buesch <m@bues.ch>
gui: Only dump visible instructions

Signed-off-by: Michael Buesch <m@bues.ch>
gui: Do insn dump state update asynchronously

Signed-off-by: Michael Buesch <m@bues.ch>