Started work on deferred shading, no crashing

Of course, there are many things that are still broken that I will be
fixing in the upcoming commits