Improved error handling, updated cordova build, improved styling