Redo in-app action sheet layout.

If the items fit on one row, center that row. If they don't fit on one row, put them on two rows.
Formatting.

An Xcode beta would shit a brick if you put protocol implementations in extensions, so I temporarily avoided it.