adding cp5 debug window
adding cp5 ui frame
cleaning code, adding minDistCollapse propertie, adding new tab for controlFrame