MP1-4307: Dispose textures in correct order and only after that set fontengine device to null (device needed to remove textures on fontengine side)
MP1-4307: Removed locking attempts and clean up code
MP1-4307: Synchronize calls which may lead to access violations on fontengine side