Cleaned up some more code.
Prepared for adjusting piece positions (x+dx, y+dy) for all rotations.