Figure creation PARTIALLY fixed. Still bugs after a control+shift
sequence. Added Polyline drawing while figure is not finished (needs
work).