Simplify while condition and add option for disabling x label rotation.
Build patches