Fixed typo in MySQL query.
Changed interface for getPrimaryGroup() to return an empty string instead of null. This makes comparisons easier.
Now disables simple synchronization when the players folder is unavailable.
Ironed out some of the pitfalls in the primary group synchronization.