Error handling, hide statusbar and launch screen.