embeddable char-based window and event, Borland-inspired lib