rewrote tool for mirroring and rotating; untestet; all related function are dysfunctional for now
fixed offset for selection; it's working like before: diagonal mirroring is buggy