Improved the texture budgeting code to take into account the texture being currently loaded. Increased default texture budget to 512MB.