Save active tab before we stop engine
Drop unused method declaration
Add beforeShutdown signal to mock object
Merge pull request #235 from rojkov/fix-assert

Save active tab before we stop engine