Basic gui handling: Exit action added.