added socket properties: tab_count new_tab sort_... #225 #272

also removed main-window.c disabled code