API trigger additions, added reporting and listeners, some new api calls such as set source order and render, and some other small api fixes.