* Improved some of the error handling in ScadaEngine and ClusterFactory.