menu id should not be a global variable
version 0.5.2
modify the action when closing the last tab
update license
ver.0.5.3