working on open/close tabs in mic.onresult
merged with master