added in dimention selection in gui, 2D is set to default, 3d still has bugs.