Working PPL Shader

But holy wow is this messy as hell. Working with shaders in dx9 makes me
think a switch forward to dx11 might be in order. Blegh.