added configurerequest event. xterm finally starts immediately without 5 seconds delay