fix triangle uv mapping. need to add bounds checking to ensure it
doesn't go negative
remove debug stuff from meim class