Got generate report working. No cancel button yet and have not extensively tested