began to implement friend table editing, commented out buggy part