Make sure that multiple tabs can be running at the same time

Improved a situation where multiple tabs open on the same application at the same time could corrupt the database requiring a full synchronization.

The last opened tab will be marked as the primary tab, switching to an older tab will refresh the tab and setting that to the primary tab.

This will only work if the tabs are open in the same browser window. We still do not support multiple tabs in multiple browser windows.

Copyright Dynaway A/S