Fixed lagging when changing friends caused by fragment transactions. Significant restructuring of how the active key flows through the code as a result.