Lots of fixes and renames. From now on the splashscreen and dialog login are used. The splashscreen now only disappears when .hide() is called so there is no visible gap between splashscreen and deviceready.