Correctly rotating buttons and minor style cleanups.