fixed mainTab closing bug
README updated