bug fixes with connecting.  improved UI.