Added correct rotation handling for multiple selections, fixed global rotations and restricted scaling to local space.