fix wrong tabs scrolling
fix close button clipping
continue error handling
fix -reuse crash (cause error handling and SharedMemory throws exception now)