Add threshold meter to gui