Binded quality metrics to GUI. Added custom exception.