Extensive additions to the chicken class and small changes to the
MyWindow class.