allow loading of app by path or url from desired capabilities
also a lot of stability improvements and error handling