Thread Synchronization and minor bug fixes Interface.