many bug repairs and corrections for mouse action create_grid: option for black marjkers for grid detection