GRAPHICS: Added a check to make shadows look better on lower BPP
GRAPHICS: Added extra sanity check
GRAPHICS: Fixed compilation-warnings
GRAPHICS: Updated code for tab shadows
GRAPHICS: Removed confusing comment
GRAPHICS: Fixed comments
GRAPHICS: Avoid warnings by changing up code