Tidied up phonegap app creation so we get a half decent initial TTA screen