Engine context error handling when rendering offline

Added a2_LastRTError(), set from a2r_Error().

Added a2_LastRTError() check to a2_Render().

WaveDef statements now handle errors from a2_RenderWave().