made labels for m.x and m.y in gui