Added gradient background ingame, rearranged some functions