Refresh of tabs; bugfixes