sgl :: Shape now correctly rotates around the center. Plus some minor changes.