Fix small bugs - rotation, disk space checking