added a test harness for door event and added a menu into main