ui changes and initial social refactoring.