added some auxiliary features: wireframe, grid, measuring and repositioning