implemented planewise 3D transforms, fixed bug in toggle_frames in align mode