added debug layer for GraphicObject, added a tool to get a rectangle from color in a bitmap