RAII'd the buffer in m_queuedFrame

Changed m_queuedFrame.data to a std::vector<unsigned char>, and made appropriate changes in the code to reflect that.