Cleaned up core code, freefly camera yaw constraint