better error handling, added inappbrowser plugin