only replace profile directory if not cancelled
simplify centering
restore PT axis order swap

Reported-by: @FlyingCircus-
Issue: #63