Fix for #244. Timestamps to locale strings
Be a bit more strict about which tab we're closing, adds support for tabs named the same as networks. Fixes #240