Don't attempt to autorotate if we don't know the Orientation.
Fix variable names/get rid of logged warnings.