Added support for optional plot labels
Selection of columns added in Table
Removed redundant parts in extractFromTable.