Fixed tab sycronization and refactored MirroredDirectory