public void UnregisterKeyhandler(KeyHandler handler)
 {
     keyCollection.Remove(handler);
 }