Get rid of the squares and grid background, use circles and a transparent background instead.
Replaced ~200 lines of repeated dot positioning code with one GridLayout.