Health Secretary Neil Gray said he was determined to "drive improvements" in A&E wards as waiting times remain high.