Fixes Ton of Warnings

For graphics systems and other things.