Several fixes for group synchronization that should clear up problems with groups treated as primary and other minor issues where the players synchronization file is not correctly updated. Resolves #146