gui: Add exit icon

Signed-off-by: Michael Buesch <m@bues.ch>
gui: Run code validation asynchronously

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