All command line options are generally working. Rotation needs some
checking.