Improvements and optimizations in relation to performance, synchronization and ui
