[Haskell-beginners] Event handling in GTK2hs: managing events and global state