part.c: Properly load and also rotate groups, finally closes #115.