* Added possibility to cancel lengthy operations.