Fixed concat, added table functions to chartek.js, various additions to main.js