fix save favorites crashes, fix numerous sql bugs, add marquee end to tabs, fix wrong navigation logic