Fixed some problems with directions and deleting links in FlowChart