Implemented rotation and scale animations. Other minor changes.