Fixed bugs. Figures stick to EndlessLine.
New button 'Create figure' in menu.