changed drawing for better debuging changed layer editing option to add and delete layers some minor changes