Fixed AndroidManifest to load libraries correctly
Fixed opening window on android
Added more error checking