Removed app generated http errors: now uses an extra level of REither, instead.
Moved the component's API to its closure.