Fixed invalid parenthesis usage
Fixed possible dead lock
Merge pull request #123 from bixuehujin/enh-table

Bug fixes for swTable