It's not a question of showing tags, it is closing the tag browser, the entire left panel in calibre.
And trust me, your problems have nothing to do with the database. There's no way I can convince you of that in plain text, so feel free to instrument the code, calibre is open source