Added possibility to draw grid lines (mechanism doesn't allow to select their width properly)