added cairo grid drawing, added r-click delete