Implemented a more effective way of disabling tooltips on Linux.
Fixed a bug that prevented old database versions from being updated.
Code cleanup.