Rewritten to draw grid correctly, but only on monitor 1 so far.
Fixed correct use of attributes.