Elgg URL and error catch corrections

The Elgg URL was not handled correctly.
Upon ElggApiClient creation error, and empty page would be displayed.