(GOMClient) Cleanup.
(GOMClient) Refactored errorhandling scheme.