add an edit icon on tables to deal with double click issue on ipad
misc cleanup