avoiding leaks when batchee is deployed in a container (= container loader) + basic tests for GUI