Fix more bugs

More uninit bugs fixed, eugh.
Begin implementation of texture drawing