tab close save prompt
Merge pull request #124 from xwang12/master

tab close save prompt
merging conflict resolved
table display bugs resolved