Lines and blinking figures

The figures now blink when selected, and it now draws lines between the
different figures.