Demo: generalize event loop functionality somewhat
Demo: generalize event loop functionality somewhat

Ignore-this: a0e1bab172c9192b702355a68131c276

darcs-hash:20091002044956-e018d-0a931bbd6dded745e228842ca59ae6c05dee0746.gz

ktvoelker/vty-ui,KommuSoft/vty-ui