Bagan implementing GUI interaction.