Fix title screen, add some error checking