1.  add gui simulator support.