Fix build scripts.
Fixes memory leaks identified by Valgrind.
Change the API for Persistable to use shared pointers.
Tweaks the visual aspect of the tabs on Windows.
Correctly clear info line and QFM when last tab is closed.
Automatically hides the tab bar when there is only one tab.