Fix warnings about non-existant signals
Fix crash when closing tab