Added tab sync, minor tweaks and fixes