Editing mrt_xhandleshape.cpp

Cleaning and commenting